export function invoke(instance: any, method: string, arg: any) {
  instance[method](...arg)
 }